HC: progressbar style fix
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 23 Nov 2016 16:25:18 +0000 (17:25 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Wed, 23 Nov 2016 16:25:18 +0000 (17:25 +0100)
Reset styling on the progress node when trough node has the `empty'
styleclass.

See https://bugzilla.gnome.org/show_bug.cgi?id=774695

gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk-contained-inverse.css
gtk/theme/HighContrast/gtk-contained.css

index e5507fa2cb754cfaf845c63db0e8473fa0471a2d..4875399d955646f7a3c0ef35e6520b8e47dc82c1 100644 (file)
@@ -2484,6 +2484,7 @@ progressbar {
       border-radius: 0;
     }
   }
+  trough.empty progress { all: unset; } // make the progress indicator disappear when the fraction is 0
 }
 
 /*************
index 4972fbc307cc3a8cd0d6574d865b9757291e30dc..f2fdf19fbeed1ff1e7583f5ee904caadee4b1e01 100644 (file)
@@ -2529,6 +2529,8 @@ progressbar progress {
   progressbar progress.osd {
     border-width: 0;
     border-radius: 0; }
+progressbar trough.empty progress {
+  all: unset; }
 
 /*************
  * Level Bar *
index 168fd043a597f784206e1dda4e8e98e109aa2a0c..364a7fbe2c5fe166551e42004545d2d607b67c95 100644 (file)
@@ -2536,6 +2536,8 @@ progressbar progress {
   progressbar progress.osd {
     border-width: 0;
     border-radius: 0; }
+progressbar trough.empty progress {
+  all: unset; }
 
 /*************
  * Level Bar *